const  homeModule = {
  //命名空间
  namespaced:true,
  state: {
    message:"默认消息"
  },
  mutations: {
    CHANGE_MESSAGE(state,newMessage){
      state.message = newMessage;
    }
  },
  actions: {
    CHANGE_MESSAGE(content,newMessage){
      console.log("home的action触发")
      content.commit("CHANGE_MESSAGE",newMessage)
    }
  },
  modules: {

  }
}

export default homeModule;